package cz.acies.organizer.face.modul;

import cz.acies.face.viewers.TableColumnDefine;
import cz.acies.face.viewers.TableViewer;

public class ContactRecordView extends TableViewer
{
	private static final long serialVersionUID = 3794887269627939119L;

	public ContactRecordView() {
		super();
	}

	@Override
	public void createPartControl() {
		createColumns();
	}

	@Override
	protected TableColumnDefine[] createColumnDefs() {
		return new TableColumnDefine[] {
			new TableColumnDefine("displayName", "Jméno", 150, "LEFT", "", ""),
			new TableColumnDefine("address", "Adresa", 200, "LEFT", "", ""),
			new TableColumnDefine("email", "Email", 80, "LEFT", "", ""),
			new TableColumnDefine("mobile", "Mobil", 80, "LEFT", "", ""),
		};
	}

	@Override
	public String getModulId() {
		return this.modulId = "LX.M.CONTACT";
	}
	
}
